package com.yyaccp.appinfo.service;

import com.yyaccp.appinfo.domain.DataDictionary;
import com.yyaccp.appinfo.mapper.AppCategoryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppCategoryService {
    @Autowired
    private AppCategoryMapper appCategoryMapper;
    public List<DataDictionary> selectByParentId(Integer parentId) {
        return appCategoryMapper.selectByParentId(parentId);
    }

    public List<DataDictionary> selectById(Integer id) {
        return appCategoryMapper.selectById(id);
    }
}
